using System;
using UnityEngine;

namespace QGameFramework.SO
{
    [Serializable]
    public class GameConfigSO : ScriptableObject
    {
        [SerializeField] [Header("音效音量")] [Range(0, 1)]
        public float m_SoundValue;

        [SerializeField] [Header("是否开启音效")] public bool m_OpenSound;

        [SerializeField] [Header("人声音量")] [Range(0, 1)]
        public float m_VoiceValue;


        [SerializeField] [Header("是否开启人声")] public bool m_OpenVoice;

        [SerializeField] [Header("音乐音量")] [Range(0, 1)]
        public float m_MusicValue;

        [SerializeField] [Header("是否开启音乐")] public bool m_OpenMusic;

        [SerializeField] [Header("资源存放上限")] [Range(1, 200)]
        public int m_ResourcesSize;

        [SerializeField] [Header("资源清理时间（单位：秒）")] [Range(1, 300)]
        public int m_CleanTime = 60;

        [SerializeField] [Header("服务器IP地址")] public string m_IpAdr;

        [SerializeField] [Header("服务器端口")] public int m_Port;

        [SerializeField] [Header("UI大小")] public Vector2Int m_UIResolution;
    }
}